<template>
  <button class="el-button" :class="[type ? `el-button--${type}` : '', plain ? 'is-plain' : '']">
    <slot></slot>
  </button>
</template>

<script>
import { defineComponent } from "vue";

export default defineComponent({
  name: "ElButton",
  props: {
    type: String,
    plain: Boolean,
  },
});
</script>
